﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;

namespace LeEdu.MODEL
{
    [DisplayName("笔记表")]
    public class Note
    {
        [DisplayName("ID")]
        public int ID { get; set; }
        [DisplayName("笔记内容")]
        public string NoteContent { get; set; }
        [DisplayName("作者")]
        public Nullable<int> UserInfoId { get; set; }
        public virtual UserInfo UserInfo { get; set; }
        [DisplayName("笔记时间")]
        public DateTime NoteTime { get; set; }
        [DisplayName("点赞")]
        public int Like { get; set; }
        [DisplayName("课程")]
        public Nullable<int> CoursesID { get; set; }
        public virtual Courses course { set; get; }
        [DisplayName("课时")]
        public Nullable<int> HourId { get; set; }
        public virtual Hour Hour { set; get; }
        [DisplayName("分享")]
        public int Share { get; set; }
    }
}
